package mianxiangduixiang.Test7;

import java.io.*;
import java.util.Scanner;

/**
 * @Author JetZhang
 * Package:mianxiangduixiang.Test7
 * Description:键盘输入一行内容输入文件copyFile.txt中
 * @Date 2021/11/18
 */
public class T1 {
    public static void main(String[] args) {
        try {
            String str = new BufferedReader(new InputStreamReader(System.in)).readLine();
            BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter("copyfile.txt"));
            bufferedWriter.write(str);
            bufferedWriter.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
